package com.pug.service.message;

import com.pug.dto.MessageDto;
import com.pug.vo.MessagePageVo;
import org.springframework.data.domain.Page;

/**
 * Author: lqm
 * create: 2022/3/28 14:02
 * Lover: lqx
 *
 * @see
 */
public interface IMessageService {
    //保存消息
    MessageDto saveMessage(MessageDto messageMo);
    //增
    public void saveMessageByTemplate(MessageDto messageMo);
    //删
    public void deleteById(Long id);
    //改
    public void updateMessage(MessageDto messageMo);
    //分页查询
    public Page<MessageDto> selectMessage(MessagePageVo messagePageVo);
}
